package test;

import java.util.ArrayList;
import java.util.List;

public class ListTest1 {
    public static void main(String[] args) {
        Object[] o = new Object[10];
        o[0] = "123";

        Object[] o2 = new String[10];
        o2[0] = new Object();
        o2[1] = "123";

        List<ListTest1_A> l = new ArrayList<ListTest1_A>();
        l.add(new ListTest1_B());

    }
}

class ListTest1_A{

}

class ListTest1_B extends ListTest1_A{

}

